package at.irian.jsfatwork.broker.application;

import at.irian.jsfatwork.broker.domain.stock.Quote;
import at.irian.jsfatwork.broker.domain.stock.Stock;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * @author Thomas Spiegl
 */
@Service
public class QuoteService {

    public Quote getQuote(Stock stock) {
        return new Quote(stock, new BigDecimal(300));
    }
}
